import request from '@/utils/request.ts'
import { reqUpload } from '@/api/system/common/type.ts'

export interface queryParams {
  pageNum: number /*第几页*/
  pageSize: number /*一页多大*/
}

/*通用*/
enum API {
  UPLOAD_ID_CARD = '/credit/peasants/idCardOther',
}

/*上传图片*/
export const reqIdCardPhoto = (data: any) => {
  return request.post<any, reqUpload>(API.UPLOAD_ID_CARD, data)
}
